package com.yz.food.service;

import com.github.pagehelper.PageInfo;
import com.yz.food.pojo.Food;

import java.util.List;

public interface FoodService {
    PageInfo<Food> getAll(Integer pageSize, Integer pageNum, Integer categoryId);

    Food getById(Integer foodId);

    List<Food> getByHot();

    PageInfo<Food> findFood(Integer pageSize, Integer pageNum, String foodName);

    List<Food> getByUpdateTime();
}
